import request from '@/utils/request'

export function roleInfoQuery(paramDataInfo) {
    return request({
        url: '/ywu/role/role/query.role.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function roleInfoCreate(paramDataInfo) {
    return request({
        url: '/ywu/role/role/create.role.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function roleInfoUpdate(paramDataInfo) {
    return request({
        url: '/ywu/role/role/update.role.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function roleInfoDelete(paramDataInfo) {
    return request({
        url: '/ywu/role/role/delete.role.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function userRoleInfoQuery(paramDataInfo) {
    return request({
        url: '/ywu/role/auth/user.role.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function userRoleAuthInfoCreate(paramDataInfo) {
    return request({
        url: '/ywu/role/auth/user.role.auth.create.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function apiRoleInfoQuery(paramDataInfo) {
    return request({
        url: '/ywu/role/auth/api.role.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function apiRoleAuthInfoCreate(paramDataInfo) {
    return request({
        url: '/ywu/role/auth/api.role.auth.create.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function menuRoleInfoQuery(paramDataInfo) {
    return request({
        url: '/ywu/role/auth/menu.role.info',
        method: 'post',
        data: paramDataInfo
    })
}

export function menuRoleAuthInfoCreate(paramDataInfo) {
    return request({
        url: '/ywu/role/auth/menu.role.auth.create.info',
        method: 'post',
        data: paramDataInfo
    })
}


